package org.jeecg.modules.ws.util;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.Data;

@Data
@JacksonXmlRootElement(localName = "TX")
public class WyzlAccountDetailRequest {
    
    @JacksonXmlProperty(localName = "REQUEST_SN")
    private String requestSn;
    
    @JacksonXmlProperty(localName = "CUST_ID")
    private String custId;
    
    @JacksonXmlProperty(localName = "USER_ID")
    private String userId;
    
    @JacksonXmlProperty(localName = "PASSWORD")
    private String password;
    
    @JacksonXmlProperty(localName = "TX_CODE")
    private String txCode;
    
    @JacksonXmlProperty(localName = "LANGUAGE")
    private String language;
    
    @JacksonXmlProperty(localName = "TX_INFO")
    private TxInfo txInfo;
    
    @Data
    public static class TxInfo {
        @JacksonXmlProperty(localName = "ACCNO1")
        private String accNo1;
        
        @JacksonXmlProperty(localName = "STARTDATE")
        private String startDate;
        
        @JacksonXmlProperty(localName = "ENDDATE")
        private String endDate;
        
        @JacksonXmlProperty(localName = "BARGAIN_FLAG")
        private String bargainFlag;
        
        @JacksonXmlProperty(localName = "CHECK_ACC_NO")
        private String checkAccNo;
        
        @JacksonXmlProperty(localName = "CHECK_ACC_NAME")
        private String checkAccName;
        
        @JacksonXmlProperty(localName = "REMARK")
        private String remark;
        
        @JacksonXmlProperty(localName = "LOW_AMT")
        private String lowAmt;
        
        @JacksonXmlProperty(localName = "HIGH_AMT")
        private String highAmt;
        
        @JacksonXmlProperty(localName = "PAGE")
        private String page;
        
        @JacksonXmlProperty(localName = "POSTSTR")
        private String postStr;
        
        @JacksonXmlProperty(localName = "TOTAL_RECORD")
        private String totalRecord;
        
        @JacksonXmlProperty(localName = "DET_NO")
        private String detNo;
        
        @JacksonXmlProperty(localName = "END_NO")
        private String endNo;
        
        @JacksonXmlProperty(localName = "Dtl_Smy_Bsn_CgyCd")
        private String dtlSmyBsnCgyCd;
        
        @JacksonXmlProperty(localName = "CURR_COD")
        private String currCod;
        
        @JacksonXmlProperty(localName = "CSHEX_CD")
        private String cshexCd;
    }
} 